<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
<html>
<head>
<title>蜜雪冰城官网</title>
    ﻿<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="format-detection" content="telephone=no">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
<meta http-equiv="Cache-Control" content="no-siteapp" />
<link rel="alternate icon" type="image/png" href="images/favicon.png">
<link rel='icon' href='favicon.ico' type='image/x-ico' />
<meta name="description" content="" />
<meta name="keywords" content="" />
<link rel="stylesheet" href="css/default.min.css?t=227" />
<!--[if (gte IE 9)|!(IE)]><!-->
<script type="text/javascript" src="lib/jquery/jquery.min.js"></script>
<!--<![endif]-->
<!--[if lte IE 8 ]>
<script src="http://libs.baidu.com/jquery/1.11.3/jquery.min.js"></script>
<script src="http://cdn.staticfile.org/modernizr/2.8.3/modernizr.js"></script>
<script src="lib/amazeui/amazeui.ie8polyfill.min.js"></script>
<![endif]-->
<script type="text/javascript" src="lib/handlebars/handlebars.min.js"></script>
<script type="text/javascript" src="lib/iscroll/iscroll-probe.js"></script>
<script type="text/javascript" src="lib/amazeui/amazeui.min.js"></script>
<script type="text/javascript" src="lib/raty/jquery.raty.js"></script>
<script type="text/javascript" src="js/main.min.js?t=1"></script>
</head>
<body>
   <jsp:include page="/milkyTeaServlet"></jsp:include>
<section class="index-section">
    <div>
        <span></span>
        <span></span>
    </div>
    <div class="index-content">
        <section class="index-content-section-first"><div><img src="images/1.jpg" alt="" style="width:100%;height:100%"></div> </section>
        <section class="index-content-section-second">
            <div>
                <div class="index-auto">
            <article>公司介绍</article>
            <h6>我爱你，你爱我，蜜雪冰城甜蜜蜜</h6>
            <main>${home.homeInfo}</main>
            <a class="index-button" href="#">查看详情</a>
                </div>
            </div>
        </section>
    </div>
</section>
<!-- <section class="index-product">
    <main>
        <ul>
            <li class="index-active"><a href="#"></a></li>
            <li><a href="#"></a></li>
            <li><a href="#"></a></li>
            <li><a href="#"></a></li>
        </ul>
    </main>
    <main></main>
    <main></main>
</section> -->
<div class="copyrights">Collect from <a href="http://www.cssmoban.com/" >网页模板</a></div>
<section class="index-margin-bottom">
    <div class="index-morecase">
        <span></span>
        <a href="#">MORE &#62; &#62;</a>
    </div>
    <div class="index-content">
    
    
        <div class="product-list">
        <c:forEach items="${pro}" var="p">
        
         <div class="am-u-sm-6 am-u-md-6 am-u-lg-4">
        	  <a href="ProductServlet">
        	   <img src="${p.proUrl}"/>
                </a>
               
            </div>
         </c:forEach>
         
         
<%--       <c:forEach items="${pro} "  var="prol">
    <div class="am-u-sm-6 am-u-md-6 am-u-lg-4">
                <a href="productlist.jsp">
                 
                </a>
            </div>
    </c:forEach>  --%> 
    
        </div>
    </div>
</section>

<section class="index-margin-bottom">
    <div class="index-morecase">
        <span></span>
        <a href="#">MORE &#62; &#62;</a>
    </div>
    <div class="index-content">
 <div class="new-index">
            <ul>
          <li><img  src="images/www.jpg" alt=""></li>
                <li>  <a href="article_list_content.jsp"><h3>${ps[0].title}</h3>
                    <article>${ps[0].content}</article></a></li>
            </ul>
            <ul>
                <c:forEach items="${newsd}" var="ps"> 
             <li><a href="article_list_content.jsp"><h3>  ${ps.title}</h3>
                    <article>${ps.content}
                    </article>
                </a></li>
                    </c:forEach> 
            </ul>

        </div>
    </div>
</section>
<jsp:include page="/footerServlet"></jsp:include>
</body>
</html>